export interface OptionType {
    text: string,
    value: string,
    checked: boolean
}

export interface QuestionCheckboxPropsType {
    title?: string,
    isVertical?: boolean,
    List?: OptionType[],

    onChange?: (newProps: QuestionCheckboxPropsType) => void,
    disabled?: boolean
}

export const QuestionCheckboxDefaultProps: QuestionCheckboxPropsType = {
    title: '多选标题',
    isVertical: false,
    List: [
        {value: 'item1', text: "选项1", checked: false},
        {value: 'item2', text: "选项2", checked: false},
        {value: 'item3', text: "选项3", checked: false},
    ]
}
